$(document).ready(function(){
    $("form[name=main-form]").submit(function(){
        $.ajax({
            type: "GET",
            url: "load-vcd",
            data: {
                "vcds[]" : $("input[name=vcds]").val()
            },
            error: function(){
                console.log("ERROR");
            },
            success: function(){
                location.href = "browser";
            }
        });
    });
});

